Linux Device Driver Emulation in Mach
نویسندگان
چکیده
We describe the design and performance of code added to the Mach microkernel (Mach 4.0, version UK02p21) that permits one to build a Mach kernel that includes unmodiied Linux device drivers. We have written emulation code to support all Linux 1.3.35 network and SCSI drivers for the ISA and PCI I/O buses. Emulation increases latency, but very little. The degree depends on both device and operation, and varies from 2 microseconds for receiving small (60 byte) network packets up to 197 microseconds for writing 16KB to an ISA SCSI device.
منابع مشابه
Device driver-enabled wireless network emulation
Testing and evaluating the performance of actual software for wireless networks is difficult. Real-world wireless testbeds are costly and cumbersome to maintain. Measurement studies are complicated by many uncontrollable environmental influences, particularly the wireless channel. Network simulations on the contrary allow the convenient analysis of wireless networks with a maximum level of cont...
متن کاملRunning Virtualized Native Drivers in User Mode Linux
A simulation infrastructure for wireless network emulation based on User Mode Linux and on the virtualisation of the hostap driver is proposed. The interconnection of these components is first described and the architecture of the resulting network emulator is explained. Two practical applications are then detailed : the testing of an implementation of the AODV routing protocol in a highly real...
متن کاملGenerating environment model for Linux device drivers
Linux device drivers can't be analyzed separately from the kernel core due to their large interdependency with each other. But source code of the whole Linux kernel is rather complex and huge to be analyzed by existing model checking tools. So a driver should be analyzed with environment model instead of the real kernel core. In the given paper requirements for driver environment model are disc...
متن کاملFast Log Writes using Disk Mimic
We investigate a suite of algorithms for reducing the Small synchronous disk writes overhead, which are an important & frequently occurring workload in journallling filesystems and transactional database systems. The studied algorithms try to optimize the performance by trying to predict the disk head position. We find the current state-of-art algorithms/systems either memory inefficient or bad...
متن کاملNaming Facilities for Operating System Emulation in Mach 3.0
The Mach 3.0 micro-kernel provides a foundation for the emulation of various operating systems with a combination of libraries and Mach servers. We present a general-purpose naming facility to help construct such emulation systems by assembling many independent servers. This facility defines a set of standard interfaces for a uniform name space with uniform access mediation and a set of practic...
متن کامل